package com.itmk.web.sys_lost.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author java实战基地
 * @since 2023-10-21
 */
@Getter
@Setter
@TableName("sys_lost")
public class SysLost implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
      @TableId(value = "lost_id", type = IdType.AUTO)
    private Integer lostId;

    /**
     * 标题
     */
    private String title;

    /**
     * 简介
     */
    private String titleDesc;

    /**
     * 内容
     */
    private String content;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date cteateTime;

    /**
     * 状态 0：未认证(未找回) 1：已认领 (已找回)
     */
    private String status;
    //0：失物 1：招领
    private String type;
    //图片
    private String image;
    private String person;
    private String phone;


}
